home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / oleo-1_4.lha / oleo-1.4 / regions.h < prev    next >
C/C++ Source or Header  |  1993-05-10  |  2KB  |  75 lines

  1. #ifndef REGIONSH
  2. #define REGIONSH
  3.  
  4. /*    Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this software; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20.  
  21. /*  t. lord    Sat Aug  8 15:48:59 1992    */
  22.  
  23. #include "global.h"
  24.  
  25.  
  26. struct cmp
  27. {
  28.   char mult;
  29.   CELLREF row;
  30.   CELLREF col;
  31. };
  32.  
  33. extern struct rng sort_rng;
  34. extern struct rng sort_ele;
  35. extern struct cmp *sort_keys;
  36. extern int sort_keys_num;
  37. extern int sort_keys_alloc;
  38. extern struct rng all_rng;
  39. extern unsigned int print_width;
  40.  
  41.  
  42.  
  43.  
  44. #ifdef __STDC__
  45. extern void set_rng (struct rng *r, CELLREF r1, CELLREF c1, CELLREF r2, CELLREF c2);
  46. extern void delete_region (struct rng *where);
  47. extern void lock_region (struct rng *where, int locked);
  48. extern void format_region (struct rng *where, int fmt, int just);
  49. extern void print_region (struct rng *print, FILE *fp);
  50. extern void move_region (struct rng *fm, struct rng *to);
  51. extern void copy_region (struct rng *fm, struct rng *to);
  52. extern void copy_values_region (struct rng *fm, struct rng *to);
  53. extern void sort_region (void);
  54. extern int cmp_cells (int n1, int n2);
  55. extern void swp_cells (int n1, int n2);
  56. extern void rot_cells (int n1, int n2);
  57.  
  58. #else
  59. extern void set_rng ();
  60. extern void delete_region ();
  61. extern void lock_region ();
  62. extern void format_region ();
  63. extern void print_region ();
  64. extern void move_region ();
  65. extern void copy_region ();
  66. extern void copy_values_region ();
  67. extern void sort_region ();
  68. extern int cmp_cells ();
  69. extern void swp_cells ();
  70. extern void rot_cells ();
  71.  
  72. #endif
  73.  
  74. #endif
  75.